package com.xiaobias.distributed.pan.web.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 还回前端用户字段
 */
@Data
public class UserVo implements Serializable {
    /**
     * 用户ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 用户账号
     */
    private String account;
    /**
     * 用户密码
     */
    private String username;
}
